package vip.kqsy.cloud.blog.server.service;

import vip.kqsy.cloud.blog.server.pojo.dto.InteractiveOptionDTO;
import vip.kqsy.cloud.blog.server.pojo.entity.BlogInteractive;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.validation.Valid;

/**
 * <p>
 * 博客交互表 服务类
 * </p>
 *
 * @author cenjunjie
 * @since 2023-05-03
 */
public interface BlogInteractiveService extends IService<BlogInteractive> {
    void like(Long blogId, Long userId);

    void option(@Valid InteractiveOptionDTO dto);

}
